package edu.cuit.avatar.recursive;

/**
 * @author <a href="mailto:1020zhaodan@163.com">Adan</a>
 * @version 1.0
 * @date 2025/7/14 9:06
 */
public class RecursiveDemo {
    public static void print(String message, int n){
        if(n > 0){
            System.out.println(message);
            print(message, n - 1);
        }
    }
    public static void main(String[] args) {
        print("Hello World", 10);
    }
}
